const pre = '/system/'

export default {
    path: '/system',
    title: '系统设置',
    header: 'home',
    icon: 'md-construct',
    children: [

        {
            path: `${pre}riskmanagement/riskmanagementEdit`,
            // auth: ['hidden'], // 新增、编辑、审核等不需要左侧展示的菜单都需要添加此项
            title: '风控指标编辑'
        },
        {
            path: `${pre}riskmanagement/riskmanagementList`,
            title: '风险控制'
        },
        {
            path: `${pre}mallSetup`,
            title: '商城设置',
            children: [
                {
                    path: `${pre}mallSetup/businessCircle/businessCircleList`,
                    title: '商圈管理'
                },
                {
                    path: `${pre}mallSetup/mallInf/mallInfoList`,
                    title: '商城信息'
                },
                {
                    path: `${pre}mallSetup/mallInfo/mallInfoView`,
                    auth: ['hidden'], // 新增、编辑、审核等不需要左侧展示的菜单都需要添加此项
                    title: '商城配置信息'
                },
                {
                    path: `${pre}mallSetup/mallInfo/mallInfoEdit`,
                    auth: ['hidden'], // 新增、编辑、审核等不需要左侧展示的菜单都需要添加此项
                    title: '编辑商城配置信息'
                },
                {
                    path: `${pre}mallSetup/mallInfo/mallInfoAdd`,
                    auth: ['hidden'], // 新增、编辑、审核等不需要左侧展示的菜单都需要添加此项
                    title: '新增商城配置信息'
                },
                {
                    path: `${pre}mallSetup/operationalParameters/operationalParametersList`,
                    title: '运营参数'
                },
                {
                    path: `${pre}mallSetup/sensitiveWords/sensitiveWordsList`,
                    title: '敏感词管理'
                },
                {
                    path: `${pre}mallSetup/basicData/basicDataList`,
                    title: '基础数据管理'
                }
            ]
        },
        {
            path: `${pre}install`,
            title: '分佣设置',
            children: [

                {
                    path: `${pre}mallSetup/B2Ccommission/B2CcommissionList`,
                    title: 'B2C商家分佣比例设置'
                },
                {
                    path: `${pre}mallSetup/O2OCommission/O2OcommissionList`,
                    title: 'O2O商家分佣比例设置'
                },
                {
                    path: `${pre}mallSetup/arrivalBackstageCommission/arrivalBackstageCommissionList`,
                    title: '到店预约分佣比例设置'
                },
                {
                    path: `${pre}mallSetup/ticketCommission/ticketCommissionList`,
                    title: '到店券分佣比例设置'
                },
                {
                    path: `${pre}mallSetup/backstageCommission/backstageCommissionList`,
                    title: '上门服务分佣比例设置'
                }
            ]
        },
        {
            path: `${pre}businessPower`,
            title: '商家权限',
            children: [
                {
                    path: `${pre}businessPower/benchmarkRole/benchmarkRoleList`,
                    title: '基准角色'
                },
                {
                    path: `${pre}businessPower/jurisdiction/jurisdictionList`,
                    title: '权限'
                },
                {
                    path: `${pre}businessPower/menu/menuList`,
                    title: '菜单'
                }
            ]
        },
        {
            path: `${pre}pay`,
            title: '支付设置',
            children: [
                {
                    path: `${pre}pay/payList`,
                    title: '支付方式设置'
                },
                {
                    path: `${pre}pay/cashOutFree/cashOutFreeList`,
                    title: '提现手续费设置'
                }
            ]
        },
        {
            path: `${pre}aftermarket/aftermarketList`,
            title: '售后设置'
        },
        {
            path: `${pre}logisticsSetup/logisticsSetupList`,
            title: '物流设置'
        },
        // {
        //     path: `${pre}makeCollections/makeCollectionsList`,
        //     title: '收款设置'
        // },
        // {
        //     path: `${pre}basicData`,
        //     title: '基础数据管理',
        //     children: [
        //         {
        //             path: `${pre}basicData/reasonMangeList`,
        //             title: '原因管理'
        //         }
        //     ]
        // },
        {
            path: `${pre}region`,
            title: '地区设置',
            children: [
                {
                    path: `${pre}region/province/provinceList`,
                    title: '省管理'
                },
                {
                    path: `${pre}region/city/cityList`,
                    title: '市管理'
                },
                {
                    path: `${pre}region/county/countyList`,
                    title: '区/县管理'
                }
            ]
        },
        {
            path: `${pre}platformPower`,
            title: '平台权限',
            children: [
                {
                    path: `${pre}platformPower/menu/menuList`,
                    title: '菜单'
                },
                {
                    path: `${pre}platformPower/power/powerList`,
                    title: '权限'
                },
                {
                    path: `${pre}platformPower/department/departmentList`,
                    title: '部门'
                },
                {
                    path: `${pre}platformPower/role/roleList`,
                    title: '角色'
                },
                {
                    path: `${pre}platformPower/role/roleEdit`,
                    auth: ['hidden'], // 新增、编辑、审核等不需要左侧展示的菜单都需要添加此项
                    title: '角色编辑'
                },
                {
                    path: `${pre}platformPower/department/departmentRelevance`,
                    auth: ['hidden'], // 新增、编辑、审核等不需要左侧展示的菜单都需要添加此项
                    title: '关联角色'
                },
                {
                    path: `${pre}platformPower/role/roleRelevance`,
                    auth: ['hidden'], // 新增、编辑、审核等不需要左侧展示的菜单都需要添加此项
                    title: '关联权限'
                },
                {
                    path: `${pre}platformPower/administrators/administratorsRelevance`,
                    auth: ['hidden'], // 新增、编辑、审核等不需要左侧展示的菜单都需要添加此项
                    title: '关联角色'
                },
                {
                    path: `${pre}platformPower/administrators/administratorsList`,
                    title: '管理员'
                }
            ]
        },
        {
            path: `${pre}prescription`,
            title: '售后时效设置',
            children: [

                {
                    path: `${pre}B2Ccommission/B2CcommissionList`,
                    title: 'B2C商家时效设置'
                },
                {
                    path: `${pre}O2Ocommission/O2OcommissionList`,
                    title: 'O2O商家时效设置'
                },
                {
                    path: `${pre}arrivalBackstageCommission/arrivalBackstageCommissionList`,
                    title: '到店预约时效设置'
                },
                {
                    path: `${pre}ticketCommission/ticketCommissionList`,
                    title: '到店券时效设置'
                },
                {
                    path: `${pre}backstageCommission/backstageCommissionList`,
                    title: '上门服务时效设置'
                }
            ]
        },
        {
            path: `${pre}appVersion/appVersionList`,
            title: 'APP版本管理',
            children: [
                {
                    path: `${pre}appVersionList/menu/menuList`,
                    title: '菜单'
                }
            ]
        },
        {
            path: `${pre}productSetting`,
            title: '商品设置',
            children: [
                {
                    path: `${pre}productSetting/productParam/productParamList`,
                    title: '图片尺寸'
                }
            ]
        }
    ]
}
